package com.ruoyi.xag.ysty.mapper;

import com.ruoyi.xag.ysty.domain.YSTYDeviceInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface YSTYDeviceMapper {

    /**
     * 查询所有的设备id
     * @return
     */
    public List<String> selectAllDeviceId();

    /**
     *
     * @param deviceInfo
     * @return
     */
    public int insertDeviceInfo(YSTYDeviceInfo deviceInfo);

    public List<YSTYDeviceInfo> selectAllYSTYDevice();

    YSTYDeviceInfo selectYSTYDeviceByCondition(YSTYDeviceInfo ystyDeviceInfo);

    YSTYDeviceInfo selectYSTYDeviceById(String deviceId);
}
